package com.dk.feign.fallback;

import com.dk.data.Result;
import com.dk.em.ConstantEnum;
import com.dk.entity.TValuationDTO;
import com.dk.feign.ValuationFeign;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.Date;

public class ValuationFeignFallback implements ValuationFeign {

    @Override
    public Result<BigDecimal> getvaluationPrice(@RequestParam Integer mileage,@RequestParam Integer damage,@RequestParam BigDecimal price,@RequestParam String statedate) {
        return Result.bulid(ConstantEnum.AGTEWAY_PROXY_ERROR);
    }
}
